package com.fa.ojcodesandbox.unsafe;

/**
 * ClassName: SleepError
 * Package: com.fa.ojcodesandbox.unsafe
 * Description:无限睡眠（阻塞程序执行）
 *
 * @Author:
 * @Create: 2024/4/27 - 19:41
 * @Version: v1.0
 */
public class SleepError {

    public static void main(String[] args) {
        while (true) {
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
